Incorrect syntax near 'Geoenvironmental'.
SELECT tx_outgoingDomain FROM d_domain301Redirects WHERE yn_activated = 1 AND Replace(Replace(tx_incomingDomain,'http://',''),'www.','') = 'accesstg.com/Javascript:shortlistVac(5298,'Geoenvironmental Engineer/Engineering Geologist')'